package com.mini.spring.beanfactory.support;

/**
 * @author: 屠一乐
 * @date: 2023/8/20 16:57
 * @description:
 */

import com.mini.spring.beanfactory.factory.BeanDefinition;

/**
 * BeanDefinition注册表接口
 */
public interface BeanDefinitionRegistry {

    /**
     * 向注册表中注BeanDefinition
     *
     * @param beanName
     * @param beanDefinition
     */
    void registerBeanDefinition(String beanName, BeanDefinition beanDefinition);
}

